package com.design.cmd;

/**
 * @author cxx
 * @create 2020-04-20 16:50
 **/
public class Invoker {

    private Command command;

    public Invoker(Command command) {
        this.command = command;
    }

    public void call(){
        command.execute ();
    }

}
